﻿@model List<EShop.Models.Goods>
@{
    ViewBag.Title = "首页";
}
@section featured {
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h2>@ViewBag.Message</h2>
            </hgroup>
            <div id="promotion">
            </div>
        </div>
    </section>
}

<h3><em>最近浏览：</em></h3>

<ul id="goods-list">
    @foreach (var goods in Model)
    {
        <li><a href="@Url.Action("Details", "Shop",
                new { id = goods.GoodsId })">

            <img alt="@goods.Name" src="@goods.GoodsUrl" />
            <span>@goods.Name</span> </a>
        </li>
    }
</ul>

